<template>
  <div class="repair">
    <el-tabs type="border-card">
      <el-tab-pane label="维修处理">
        <div class="search" @click="resetForm">
          <i
            class="el-icon-service"
            style="font-size: 80px; margin-top: 20px"
          ></i>
          <h1>智能设备维修</h1>
        </div>
        <div class="table" @click="resetForm1">
          <i
            class="el-icon-office-building"
            style="font-size: 80px; margin-top: 20px"
          ></i>
          <h1>家居设备维修</h1>
        </div>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  methods: {
    resetForm() {
      this.$router.push({ path: "/home/service/smartRepair" });
    },
    resetForm1() {
      this.$router.push({ path: "/home/service/houseRepair" });
    }
  },
};
</script>

<style lang="scss" scoped>
.repair {
  margin: 1.3% 1%;
  padding: 20px;
  background-color: #fff;
  height: calc(100% - 46px);
}
.search {
  float: left;
  background: #20a0ff;
  height: 200px;
  width: 180px;
  // 圆角、
  border-radius: 20px;
  text-align: center;
  color: #fff;
  margin-left: 30px;
}
.table {
  margin-left: 30px;
  display: inline-block;
  background: #13ce66;
  height: 200px;
  width: 180px;
  border-radius: 20px;
  text-align: center;
  color: #fff;
}
</style>
